package soeasy.scenario.singlemotorunit;

import rast.AbstractTestAgent;

/**
 * 
 * @author Önder Gürcan
 * 
 */
public class TestAgent extends AbstractTestAgent {	

	int previousNeuronCount = 3;

	String goodRate;	

	public TestAgent() {
		// DO NOTHING!
		
		// SOEASYParameters.schedule(ScheduleParameters.createRepeating(DURATION,
		// DURATION, ScheduleParameters.LAST_PRIORITY, 0), new IAction() {
		// @Override
		// public void execute() {
		// final SOEASYParameters soeasyEnvironment = SOEASYParameters
		// .getInstance();
		// if (soeasyEnvironment.isSendingFeedback()) {
		// int currentNeuronCount = SOEASYEnvironment.getInstance()
		// .getNumberOfNeuronAgents();
		// previousNeuronCount = currentNeuronCount;
		// if ((currentNeuronCount > 325)) {
		// // stop sending feedbacks
		// soeasyEnvironment.setSendingFeedback(false);
		// goodRate = printGoodRate();
		// viewer.resetCollectedData();
		// } else {
		// viewer.resetCollectedData();
		// }
		// } else { // sending feedback is false
		// double r2 = printSimulationReport();
		// viewer.resetCollectedData();
		// if (r2 < 0.95) {
		// soeasyEnvironment.setSendingFeedback(true);
		// }
		// }
		// }
		// });
	}	

}
